//
//  ChannelCell.m
//  UI_Project_A
//
//  Created by dllo on 16/1/24.
//  Copyright © 2016年 GH. All rights reserved.
//

#import "ChannelCell.h"

@implementation ChannelCell


- (void)dealloc {

    [self.label release];
    [super dealloc];


}


- (instancetype)initWithFrame:(CGRect)frame {

    self = [super initWithFrame:frame];

    if (self) {
        
    [self createLabelWithFrame:frame];
    }


    return self;
}


- (void)createLabelWithFrame:(CGRect)frame {

    self.label = [[UILabel alloc]init];
    
    [self.contentView addSubview:self.label];


}

- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes {


    self.label.frame = self.contentView.frame;


}




@end
